package com.ljt.business.mapper;

import com.ljt.business.entity.ProductCategory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ljt
 * @since 2021-07-05
 */
@Repository
public interface ProductCategoryMapper extends BaseMapper<ProductCategory> {
    /**
     * 获取一级类别
     * @return
     */
    List<ProductCategory> getFirstLevelProductCategory();
    List<ProductCategory> getSecondLevelProductCategory();
    List<ProductCategory> getThreeLevelProductCategory();
}
